$(function(){
  var id = window.location.search.substr(4);
  console.log(id);
  $.ajax({
    type:"get",
    url:baseUrl+'hsent-xxyl-user/orderRefund/selectOrderRefund',
    data:{
      orderId:id
    },
    success:function(res){
      console.log(res);

      var data = {
        dataList:res.data,
        picUrl:picUrl
      };
      var listCon = template('test', data);
      document.getElementById('middle').innerHTML = listCon;
    }
  })
})
